{strip}
{foreach from=$results item="obj"}
<li id='tree_{$obj.obj_id}' ><span class="text"><img src="{$obj.icon}" border="0" height="10" width="10" /> <a href="javascript:void(0);" title="Class: {$obj.class_name} | obj_id {$obj.obj_id}" onclick="{strip}{literal}
xajax.request(
    {
        ccdsfun: 'ContentEditorOpen', ccdsclass: 'ccdsContentEditor'
    }
    , 
    {
        parameters: [
        {{/literal}
            obj_id: '{$obj.obj_id}'
        {literal}}
        ]
    }
    );{/literal}{/strip}" class="navi">{$obj.obj_name_name} ({$obj.childs})</a></span>
{if $obj.childs > 0}
	<ul id="tree_node_{$obj.obj_id}" class="ajax">
		<li id='{$obj.obj_id}_container'>{literal}{url:{{/literal}ccdsclass:'ccdsDefaultPlugin',ccdsfun:'getNavi',parameters:{literal}{{/literal}obj_parent_obj_id:{$obj.obj_id}{literal}}{/literal}{literal}}}{/literal}</li>
	</ul>
{/if}
</li>
{/foreach}
{/strip}